//
//  GRMyCommonHeaderView.m
//  YC_GRice
//
//  Created by LiuFeng on 2018/7/20.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import "GRMyCommonHeaderView.h"

@implementation GRMyCommonHeaderView


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self drawUI];
    }
    return self;
}


- (void)drawUI {
    _textLabel         = [[UILabel alloc] initWithFrame:CGRectMake(16, 0, self.frame.size.width-16, self.frame.size.height)];
    _textLabel.text       = @"设置";
    _textLabel.font       = [UIFont boldSystemFontOfSize:25];
    _textLabel.textColor  = KGMBLACK_COLOR;
    [self addSubview:_textLabel];
    [_textLabel setAdjustsFontSizeToFitWidth:YES];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
